import { queryWorkingDay } from "./queryDay.js";
import { submitMonthWorkHour } from "./submitData.js";

main();
// 主流程
function main() {
  const argv = process.argv;
  // 先查询需要补充多少天日报
  if (argv.includes("query")) {
    queryWorkingDay();
  } else if (argv.includes("submit")) {
    submitMonthWorkHour();
  } else {
    console.log('指令错误');
    process.exit(1);
  }
}
